<!--{eval $_TPL['titles'] = array($track['city'], '足迹');}-->
<!--{eval $friendsname = array(1 => '仅好友可见',2 => '指定好友可见',3 => '仅自己可见',4 => '凭密码可见');}-->
<!--{template header}-->
<div class='main clear'>
<!--{if $space[self]}-->
<div class="tabs_header" >
	<ul class="tabs">
		<!--{if $space[friendnum]}--><li$actives[we]><a href="space.php?uid=$space[uid]&do=$do&view=we"><span>好友足迹</span></a></li><!--{/if}-->
		<li class="active"><a href="space.php?uid=$space[uid]&do=$do&view=me"><span>我的足迹</span></a></li>
		<li><a href="cp.php?ac=track"><span><img alt="添加足迹" src="image/add.gif"/>&nbsp;添加足迹</span></a></li>
	</ul>
	<!--{if $_SGLOBAL[refer]}-->
	<div class="r_option">
		<a  href="$_SGLOBAL[refer]">&laquo; 返回上一页</a>
	</div>
	<!--{/if}-->
</div>
<!--{else}-->
<!--{eval
	$_TPL['spacetitle'] = "足迹";
	$_TPL['spacemenus'][] = "<a href=\"space.php?uid=$space[uid]&do=$do&view=me\">TA的所有足迹</a>";
	$_TPL['spacemenus'][] = "<a href=\"space.php?uid=$space[uid]&do=track&id=$track[id]\">查看足迹</a>";
}-->
<!--{template space_menu}-->
<!--{/if}-->

<script type="text/javascript" charset="$_SC[charset]" src="source/script_calendar.js"></script>

<div class="entry" style="padding:0 0 10px;">
	<div class="title">
		<h1<!--{if $track[magiccolor]}--> class="magiccolor$blog[magiccolor]"<!--{/if}-->>$track[city]</h1>
		<!--{if $track['friend']}-->
		<span class="r_option locked gray">{$friendsname[$track[friend]]}</span>
		<!--{/if}-->
		<!--{if $track['friend']}-->
		<span class="r_option locked gray">
		<a href="space.php?uid=$space[uid]&do=$do&view=me&friend=$track[friend]" class="gray">{$friendsname[$value[friend]]}</a>
		</span>
		<!--{/if}-->
		&nbsp; <span class="gray"><!--{date('Y-m-d H:i',$track[dateline],1)}--></span>
		
	</div>


	<div id="blog_article" class="article <!--{if $blog[magicpaper]}--> magicpaper$blog[magicpaper]<!--{/if}-->">
		<div class="resizeimg">
			<div class="resizeimg2">
			<div class="resizeimg3">
			<div class="resizeimg4">
			<!--{if $_SGLOBAL['ad']['rightside']}-->
			<div style="float: right; padding:5px;"><!--{ad/rightside}--></div>
			<!--{/if}-->
			$track[review]
			</div>
			</div>
			</div>
		</div>
	</div>
</div>

<div style="padding:0 0 10px;">
	<div style="text-align: right; padding-top:10px; ">
		<a href="cp.php?ac=share&type=track&id=$track[id]" id="a_share" onclick="ajaxmenu(event, this.id, 1)" class="a_share">分享</a>

		<!--{if $_SGLOBAL[supe_uid] == $track[uid] || checkperm('manageblog')}--></span>
		<a href="cp.php?ac=track&id=$track[id]&op=edit">编辑</a><span class="pipe">|</span>
		<a href="cp.php?ac=track&id=$track[id]&op=delete" id="blog_delete_$track[id]" onclick="ajaxmenu(event, this.id)">删除</a>
		<!--{/if}-->
	</div>

</div>
<div id="sidebar" style="padding-top:20px;">

	<!--{if $otherlist}-->
	<div class="sidebox">
		<h2 class="title">
			<a href="space.php?uid=$track[uid]&do=track&view=me" class="r_option">全部</a>
			其他最新足迹
		</h2>
		<ul class="news_list">
			<!--{loop $otherlist $value}-->
			<li style="height:auto;"><a href="space.php?uid=$value[uid]&do=track&id=$value[id]">$value[city]</a></li>
			<!--{/loop}-->
		</ul>
	</div>
	<!--{/if}-->
</div>


<script type="text/javascript">
<!--
function closeSide2(oo) {
	if($('sidebar').style.display == 'none'){
		$('content').style.cssText = '';
		$('sidebar').style.display = 'block';
		oo.innerHTML = '&raquo; 关闭侧边栏';
	}
	else{
		$('content').style.cssText = 'margin: 0pt; width: 810px;';
		$('sidebar').style.display = 'none';
		oo.innerHTML = '&laquo; 打开侧边栏';
	}
}
function addFriendCall(){
	var el = $('friendinput');
	if(!el || el.value == "")	return;
	var s = '<input type="checkbox" name="fusername[]" value="'+el.value+'" id="'+el.value+'" checked>';
	s += '<label for="'+el.value+'">'+el.value+'</label>';
	s += '<br />';
	$('friends').innerHTML += s;
	el.value = '';
}
resizeImg('blog_article','700');
resizeImg('div_main_content','450');

-->
</script>
</div>
<!--{template footer}-->
